import React from 'react';
import Viewer, { Worker } from '@phuocng/react-pdf-viewer';
import mypdf from '@/assets/pdfdf.pdf';

const StudyPDF = () => {
  return (
    <Worker workerUrl="https://unpkg.com/pdfjs-dist@2.4.456/build/pdf.worker.min.js">
      <div style={{ height: '750px' }}>
        <Viewer fileUrl={mypdf} />
      </div>
    </Worker>
  );
};

export default StudyPDF;
